<%@ page import="org.springframework.web.context.WebApplicationContext" %>
<%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ page import="com.levelup.cr.services.NodeChanger" %>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ page contentType="text/html; encoding=utf-8"%>

<jsp:useBean id="login" class="java.lang.String" scope="page"/>

<jsp:useBean id="node" class="com.levelup.cr.model.Node" scope="session"/>

<jsp:setProperty name="node" property="*"></jsp:setProperty>

<%
    WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext());
    NodeChanger nodeChanger = (NodeChanger) context.getBean("nodeChanger");
    nodeChanger.update(node);

%>

<html>
<head>

</head>

<body>

</body>
</html>
